package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.pojo.Address;
import com.itheima.pojo.CheckItem;

import java.util.List;
import java.util.Map;

public interface AddressDao {
    Page<Address> findByCondition(String queryString);

    void add(Address address);

    Address findById(Integer id);

    void update(Address address);

    void deleteOrderAndAddressByAddressId(Integer id);

    void deleteAddressById(Integer id);

    List<String> findAll();

    Integer findByAddress(String address);
    void add1(Map<String,Integer> map);
}
